Skip to content

refactor(core): runCatchingCancellable 을 core:domain 으로 옮기고 core:common 은 위임만 남긴다 (#2260) - #2261

Merged
OnlyReadOneBook merged 1 commit into
developfrom
1hyok/friendly-wright-nwzebe
Oct 5, 2026
Merged

OnlyReadOneBook merged 1 commit into
developfrom
1hyok/friendly-wright-nwzebe

Conversation

@OnlyReadOneBook

@OnlyReadOneBook OnlyReadOneBook commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

먼저 core/common/.../RunCatchingCancellable.kt(위임과 @Deprecated), core/domain/.../RunCatchingCancellable.kt(옮긴 본체와 KDoc 추가 단락)를 읽어 주세요.

📌𝘐𝘴𝘴𝘶𝘦𝘴

📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯

검증

  • :core:domain:test(옮긴 테스트 4건 통과), :core:common:compileDebugKotlin, :core:domain:ktlintCheck, :core:common:ktlintCheck
  • core:domain 에 의존하지 않고 이 함수를 쓰는 유일한 모듈인 :feature:mindrecord:data 의 단위 테스트(77건 통과), :app:compileDebugKotlin, :app:compileDebugUnitTestKotlin, :konsist:test(56건 통과)
  • verify-kdoc-links.mjs 끊김 0개

🧪 CI Test Plan

{
  "androidTest": {
    "mode": "none",
    "reason": "core 유틸 함수의 모듈 위치만 바꾸고 기존 경로는 위임으로 남겨 동작이 같다. 화면·네비게이션·매니페스트·androidTest 소스 변경이 없어 계측으로 새로 볼 경로가 없다.",
    "tests": []
  }
}

📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵

화면 변경 없음

💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴

위임 함수는 inline 끼리 호출이라 호출 모듈 바이트코드에 core:domain 참조가 남지 않습니다. core:domain 에 의존하지 않는 feature/mindrecord/data 가 그대로 컴파일되는 것으로 확인했습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(core): runCatchingCancellable 을 core:domain 으로 옮겨 domain 모듈에서도 쓰게 한다

2 participants